// eslint-disable-next-line import/no-named-as-default
import hasPermission from './hasPermission'

export default {
  install(app) {
    app.directive('has', {
      mounted: (el, binding) => {
        hasPermission(el, binding)
      }
    })
  }
}
